home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Part Server.3 < prev    next >
Encoding:
Internet Message Format  |  1996-07-09  |  1.7 KB  |  [TEXT/ttxt]

  1. Subject:     RE: Part Server
  2. Sent:        7/9/96 3:46 PM
  3. Received:    7/9/96 4:01 PM
  4. From:        Chris Hunt, chris_hunt@yes.optus.com.au
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Serge says:
  9.  
  10. "I have several OpenDoc parts that will read/write their data from/to the
  11. network. There will also be a local cache file for that data. Since there
  12. may be several instance of my OpenDoc parts open in different documents,
  13. the parts cannot manage the cache file directly. So I thought having a
  14. background task to serve all my OpenDoc parts, managing the cache file and
  15. performing network communication.
  16.  
  17. I see two methods to communicate information between my parts and my
  18. background part server:
  19.  
  20. 1. AppleEvents
  21. 2. OD extensions
  22.  
  23. What is the best way?"
  24.  
  25. I have a similar problem; I want to create a service and it must be OpenDoc aware.  My part service will be focused on serving the document as a whole (I could extend its scope to be cross-document, but I don't need to here).  I'm writing a faceless part editor that is communicated with via AppleEvents; the preferred method of interprocess communication for MacOS 8.  I'm also conforming to the AppleEvent Registry Core Suite fully ('cause its the right thing to do!).
  26.  
  27. So long as my service doesn't require any co-operative services, the part editor should be able to run as a pre-emptive task in the future (providing that OpenDoc enables this to happen with MacOS 8).
  28.  
  29. I'd be interested in any feedback to my approach to writing services.  I suspect that other services would be written in a similar fashion.
  30.  
  31. Regards,
  32.  
  33. Christopher Hunt    ?%^)
  34. Class Action Pty. Ltd.
  35. Wollongong, NSW
  36. AUSTRALIA
  37.  
  38. e-mail: chris_hunt@yes.optus.com.au
  39.